<template>
    <SearchRadioGroup :datas="datas" :change="change" />
</template>
<script>
export default {
    name: 'OrderStatusRadioGroup',
    props: {
        change: {
            type: Function
        }
    },
    data() {
        return {
            datas: [
                { label: 1, text: '已预约' },
                { label: 0, text: '待预约' },
                { label: 4, text: '已取消' },
                { text: '全部' }
            ],
            value: 1
        };
    }
};
</script>
<style scoped>
.el-radio-group {
    padding: 12px 16px;
}
</style>
